Optimal. Leaf size=160 \[ \frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}-\frac {6 d (d-e x)^2}{e^5 \sqrt {d^2-e^2 x^2}}-\frac {(20 d-e x) \sqrt {d^2-e^2 x^2}}{2 e^5}-\frac {19 d^2 \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^5}-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.42, antiderivative size = 160, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {852, 1635, 780, 217, 203} \begin {gather*} -\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}+\frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}-\frac {6 d (d-e x)^2}{e^5 \sqrt {d^2-e^2 x^2}}-\frac {(20 d-e x) \sqrt {d^2-e^2 x^2}}{2 e^5}-\frac {19 d^2 \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 217
Rule 780
Rule 852
Rule 1635
Rubi steps
\begin {align*} \int \frac {x^4 \sqrt {d^2-e^2 x^2}}{(d+e x)^4} \, dx &=\int \frac {x^4 (d-e x)^4}{\left (d^2-e^2 x^2\right )^{7/2}} \, dx\\ &=-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {\int \frac {(d-e x)^3 \left (\frac {4 d^4}{e^4}-\frac {5 d^3 x}{e^3}+\frac {5 d^2 x^2}{e^2}-\frac {5 d x^3}{e}\right )}{\left (d^2-e^2 x^2\right )^{5/2}} \, dx}{5 d}\\ &=-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}+\frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {\int \frac {(d-e x)^2 \left (\frac {45 d^4}{e^4}-\frac {30 d^3 x}{e^3}+\frac {15 d^2 x^2}{e^2}\right )}{\left (d^2-e^2 x^2\right )^{3/2}} \, dx}{15 d^2}\\ &=-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}+\frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}-\frac {6 d (d-e x)^2}{e^5 \sqrt {d^2-e^2 x^2}}-\frac {\int \frac {\left (\frac {135 d^4}{e^4}-\frac {15 d^3 x}{e^3}\right ) (d-e x)}{\sqrt {d^2-e^2 x^2}} \, dx}{15 d^3}\\ &=-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}+\frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}-\frac {6 d (d-e x)^2}{e^5 \sqrt {d^2-e^2 x^2}}-\frac {(20 d-e x) \sqrt {d^2-e^2 x^2}}{2 e^5}-\frac {\left (19 d^2\right ) \int \frac {1}{\sqrt {d^2-e^2 x^2}} \, dx}{2 e^4}\\ &=-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}+\frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}-\frac {6 d (d-e x)^2}{e^5 \sqrt {d^2-e^2 x^2}}-\frac {(20 d-e x) \sqrt {d^2-e^2 x^2}}{2 e^5}-\frac {\left (19 d^2\right ) \operatorname {Subst}\left (\int \frac {1}{1+e^2 x^2} \, dx,x,\frac {x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^4}\\ &=-\frac {d^3 (d-e x)^4}{5 e^5 \left (d^2-e^2 x^2\right )^{5/2}}+\frac {19 d^2 (d-e x)^3}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}-\frac {6 d (d-e x)^2}{e^5 \sqrt {d^2-e^2 x^2}}-\frac {(20 d-e x) \sqrt {d^2-e^2 x^2}}{2 e^5}-\frac {19 d^2 \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{2 e^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.18, size = 98, normalized size = 0.61 \begin {gather*} -\frac {285 d^2 \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )+\frac {\sqrt {d^2-e^2 x^2} \left (448 d^4+1059 d^3 e x+713 d^2 e^2 x^2+75 d e^3 x^3-15 e^4 x^4\right )}{(d+e x)^3}}{30 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.82, size = 121, normalized size = 0.76 \begin {gather*} \frac {\sqrt {d^2-e^2 x^2} \left (-448 d^4-1059 d^3 e x-713 d^2 e^2 x^2-75 d e^3 x^3+15 e^4 x^4\right )}{30 e^5 (d+e x)^3}-\frac {19 d^2 \sqrt {-e^2} \log \left (\sqrt {d^2-e^2 x^2}-\sqrt {-e^2} x\right )}{2 e^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 190, normalized size = 1.19 \begin {gather*} -\frac {448 \, d^{2} e^{3} x^{3} + 1344 \, d^{3} e^{2} x^{2} + 1344 \, d^{4} e x + 448 \, d^{5} - 570 \, {\left (d^{2} e^{3} x^{3} + 3 \, d^{3} e^{2} x^{2} + 3 \, d^{4} e x + d^{5}\right )} \arctan \left (-\frac {d - \sqrt {-e^{2} x^{2} + d^{2}}}{e x}\right ) - {\left (15 \, e^{4} x^{4} - 75 \, d e^{3} x^{3} - 713 \, d^{2} e^{2} x^{2} - 1059 \, d^{3} e x - 448 \, d^{4}\right )} \sqrt {-e^{2} x^{2} + d^{2}}}{30 \, {\left (e^{8} x^{3} + 3 \, d e^{7} x^{2} + 3 \, d^{2} e^{6} x + d^{3} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 273, normalized size = 1.71 \begin {gather*} -\frac {10 d^{2} \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {2 \left (x +\frac {d}{e}\right ) d e -\left (x +\frac {d}{e}\right )^{2} e^{2}}}\right )}{\sqrt {e^{2}}\, e^{4}}+\frac {d^{2} \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{2 \sqrt {e^{2}}\, e^{4}}+\frac {\sqrt {-e^{2} x^{2}+d^{2}}\, x}{2 e^{4}}-\frac {10 \sqrt {2 \left (x +\frac {d}{e}\right ) d e -\left (x +\frac {d}{e}\right )^{2} e^{2}}\, d}{e^{5}}-\frac {\left (2 \left (x +\frac {d}{e}\right ) d e -\left (x +\frac {d}{e}\right )^{2} e^{2}\right )^{\frac {3}{2}} d^{3}}{5 \left (x +\frac {d}{e}\right )^{4} e^{9}}+\frac {19 \left (2 \left (x +\frac {d}{e}\right ) d e -\left (x +\frac {d}{e}\right )^{2} e^{2}\right )^{\frac {3}{2}} d^{2}}{15 \left (x +\frac {d}{e}\right )^{3} e^{8}}-\frac {6 \left (2 \left (x +\frac {d}{e}\right ) d e -\left (x +\frac {d}{e}\right )^{2} e^{2}\right )^{\frac {3}{2}} d}{\left (x +\frac {d}{e}\right )^{2} e^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4\,\sqrt {d^2-e^2\,x^2}}{{\left (d+e\,x\right )}^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} \sqrt {- \left (- d + e x\right ) \left (d + e x\right )}}{\left (d + e x\right )^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________